#ifndef DATA_H
#define DATA_H

#include <QApplication>
#include <QWidget>
#include <QLabel>
#include <QLineEdit>
#include <QComboBox>
#include <QSpinBox>
#include <QTextEdit>
#include <QHBoxLayout>
#include <QVBoxLayout>
#include <QFormLayout>


class Data : public QFormLayout
{
    Q_OBJECT

    public:
    Data();	// Constructeur
    Data(QWidget *parent = 0);
    // Methodes
    void addData(QWidget *parent);

    public slots:
    //void addData();

    private:
    // Attributs
    int m_nbData;
    QLabel *m_labelId;
    QLineEdit *m_lineId;
    QLabel *m_labelType;
    QComboBox *m_comboType;
    QLabel *m_labelSize;
    QSpinBox *m_spinSize;
    QLabel *m_labelSigned;
    QComboBox *m_comboSigned;
    QLabel *m_labelUnit;
    QLineEdit *m_lineUnit;
    QHBoxLayout *m_HLayout;
    QLabel *m_labelExplanation;
    QTextEdit *m_textExplanation;
    QHBoxLayout *m_HLayout2;
    QVBoxLayout *m_VLayout;

    QHBoxLayout *m_HLayout3;

};




#endif // DATA_H
